/**
 * 
 */
package com.service;

import java.util.List;

import com.model.CpAccount;


/**
 * @author jun.huang
 *
 */
public interface CpAccountService 
{
	public String encrypt(String str);
	public CpAccount getCpAccount(String id, String password);
	public CpAccount getCpAccount(String id);
	public List<CpAccount> getCpAccounts();
	boolean saveCpAccount(String type, CpAccount account);
	boolean updatePassword(String id, String password);
}
